package com.ebt.m.widget.indemnify.tablechart;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TableRow;
import android.widget.TextView;
/**
 * 表格体单元格
 * @author Allen.li
 *
 */
public class BodyTV2 extends TextView {
	private int xValue;// x值
	private String yValue;// y值
	private String item;// 所在保障名
	/**所在行*/
	private TableRow tableRow;
	/** 所在列索引*/
	private int columnIndex;
 
	public BodyTV2(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		// TODO Auto-generated constructor stub
	}

	public BodyTV2(Context context, AttributeSet attrs) {
		super(context, attrs);
		// TODO Auto-generated constructor stub
	}

	public BodyTV2(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
	}

	public int getxValue() {
		return xValue;
	}

	public void setxValue(int xValue) {
		this.xValue = xValue;
	}

	public String getyValue() {
		return yValue;
	}

	public void setyValue(String yValue) {
		this.yValue = yValue;
	}

	public String getItem() {
		return item;
	}

	public void setItem(String item) {
		this.item = item;
	}

	@Override
	public String toString() {
		return "BodyTV2 [xValue=" + xValue + ", yValue=" + yValue + ", item="
				+ item + "]";
	}

	public TableRow getTableRow() {
		return tableRow;
	}

	public void setTableRow(TableRow tableRow) {
		this.tableRow = tableRow;
	}

	public int getColumnIndex() {
		return columnIndex;
	}

	public void setColumnIndex(int columnIndex) {
		this.columnIndex = columnIndex;
	}

}
